package router

import (
	"Blog/controller/blog"
	"github.com/kataras/iris/v12"
)

func Register(app *iris.Application) {
	app.Get("/", blog.Index)
	app.Get("/article/{id}", blog.Article)
	app.Get("/list", blog.List)
	app.Get("/search", blog.Search)
}
